package com.fantastic.model.pojo.zjs;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.time.LocalDateTime;

/**
 * @author: rxx
 * @since: 2024/5/27 07:48
 * @description: 员工信息
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Workers {

    /**
     * 员工id
     */
    private Integer workerId;
    /**
     * 员工姓名
     */
    private String workerName;
    /**
     * 员工性别
     */
    private String workerGender;
    /**
     * 员工年龄
     */
    private Integer workerAge;
    /**
     * 身份证
     */
    private String workerCode;
    /**
     * 手机号
     */
    private String workerPhone;
    /**
     * 入职时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "UTF-8")
    private LocalDateTime workerEntryDate;
    /**
     * 职务
     */
    private String workerJob;
    /**
     * 状态   默认1——>“在职”，0——>“离职”,
     */
    private Integer workerStatus;
}
